<?php
/**
 * 船配-船配企业
 */
class Staticizer_News_Index_Ancillary_Company extends Staticizer
{
    public function Build($param=NULL)
    {
        #获取数据
        $data=DB::GetRows('select ID,CompanyName from Account order by DateTime desc limit 0,7');

        #渲染模板
        View::Assign('Ancillary_Company',$data);

        #生成静态
        $this->Save('news/index/ancillary_company.html',View::Fetch('news/index/ancillary_company.tpl'));
    }
}
?>